package com.wfg.myswagger.demo.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * myswagger
 *
 * @Title: com.wfg.myswagger.demo.entity
 * @Date: 2020/12/20 0020 16:34
 * @Author: wfg
 * @Description:
 * @Version:
 */
@ApiModel("用户实体")
public class User {

    @ApiModelProperty("姓名")
    private String userName;
    @ApiModelProperty("密码")
    private String pwd;
    @ApiModelProperty("性别")
    private Integer sex;
    @ApiModelProperty
    private Integer age;
    @ApiModelProperty
    private Date brithday;
    @ApiModelProperty
    private ClassRoom classRoom;


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getBrithday() {
        return brithday;
    }

    public void setBrithday(Date brithday) {
        this.brithday = brithday;
    }

    public ClassRoom getClassRoom() {
        return classRoom;
    }

    public void setClassRoom(ClassRoom classRoom) {
        this.classRoom = classRoom;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getSex() {
        return sex;
    }
}
